
from handlers.data import userData

def entryGame(account):
	GData = dict()

	uid = account["uid"]

	#chk userdata 
	user_data = userData.find_by_uid(uid)
	if not user_data:
		new_user = userData.new()
		userData.insert_user(uid , new_user)
		user_data = new_user
	userData.add_money(user_data , 100)

	GData["userdata"] = user_data


	#chk actdata 
	# act_data = 
	return GData


